// SEE END OF FILE FOR LICENSE TERMS

#ifndef DATATYPE_DEFINES_H
#define DATATYPE_DEFINES_H


typedef  enum				
{				
	DATATYPE_NULL	 = 	0	,
	DATATYPE_UINT16	 = 	1	,
	DATATYPE_INT16	 = 	2	,
	DATATYPE_Q15	 = 	3	,
	DATATYPE_WORD	 = 	4	,
	DATATYPE_WAYPOINT	 = 	5	,
	DATATYPE_FRAC	 = 	6	,
	DATATYPE_BIT16	 = 	7	,
	DATATYPE_WAYPNT_INDEX	 = 	8	,
	DATATYPE_LONG	 = 	9	,
	DATATYPE_ULONG	 = 	10	,
	DATATYPE_AP_SETTINGS	 = 	11	,
	DATATYPE_MIXER_SETTING	 = 	12	,
	DATATYPE_IMU_NAV	 = 	13	,
	DATATYPE_MEASUREMENTS	 = 	14	,
	DATATYPE_UCHAR	 = 	15	,
	DATATYPE_BATT_FUEL	 = 	16	,
	DATATYPE_MAX_DATATYPE_INDEX	 = 	17	,
				
} DATA_TYPES;				
				
				
typedef unsigned int DATA_TYPE_SIZES[DATATYPE_MAX_DATATYPE_INDEX];				
				
extern const DATA_TYPE_SIZES dataTypeSizes;				


#endif


/****************************************************************************/
// This is part of the servo and radio interface software
//
// ServoInterface source code
//	http://code.google.com/p/rc-servo-interface
//
// Copyright 2010 ServoInterface Team
// See the AUTHORS.TXT file for a list of authors of ServoInterface.
//
// ServoInterface is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// ServoInterface is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License 
// along with ServoInterface.  If not, see <http://www.gnu.org/licenses/>.
//
// Many parts of ServoInterface use either modified or unmodified code
// from the MatrixPilot pilot project.
// The project also contains code for modifying MatrixPilot to operate
// with ServoInterface.
// For details, credits and licenses of MatrixPilot see the AUTHORS.TXT file.
// or see this website: http://code.google.com/p/gentlenav
/****************************************************************************/
